package com.example.farmer.Database;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import androidx.annotation.Nullable;

public class ProductHelper extends SQLiteOpenHelper {
    public static final String DATABASE_NAME = "Product.db";
    public static final String TABLE_NAME = "Product_table";
    public static final String COL_1 = "product_id";
    public static final String COL_2 = "product_title";
    public static final String COL_3 = "product_details";
    public static final String COL_4 = "product_price";

    public ProductHelper(@Nullable Context context, @Nullable String name, @Nullable SQLiteDatabase.CursorFactory factory, int version) {
        super(context, DATABASE_NAME, null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {

    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
